package io.gitee.geminidev.bot.domain;

/**
 * @Author widthwu
 * @Date 2023/4/2 2:16
 * @description: member信息
 */
public class Member {
    /**
     * 用户的频道基础信息，只有成员相关接口中会填充此信息
     */
    private User user;

    /**
     * 用户的昵称
     */
    private String nick;

    /**
     * 用户在频道内的身份组ID, 默认值可参考DefaultRoles
     */
    private String[] roles;

    /**
     * 用户加入频道的时间（ISO8601 timestamp）
     */
    private String joined_at;

    // Getters and Setters
    public User getUser() {
        return user;
    }
    public void setUser(User user) {
        this.user = user;
    }
    public String getNick() {
        return nick;
    }
    public void setNick(String nick) {
        this.nick = nick;
    }
    public String[] getRoles() {
        return roles;
    }
    public void setRoles(String[] roles) {
        this.roles = roles;
    }
    public String getJoined_at() {
        return joined_at;
    }
    public void setJoined_at(String joined_at) {
        this.joined_at = joined_at;
    }
}
